/** 
 * 底部粒子波浪
 */

class ButtonWaves extends HTMLElement {
    async connectedCallback() {
        await createScriptElement({ src: "components/bgCanvas/buttomWaves/index.css", name: "粒子效果css", type: "link" });
        this.innerHTML = `<div class="waves"></div>`;
        await createScriptElement({ src: "components/bgCanvas/buttomWaves/index.js", name: "粒子效果依赖", type: "script" });
    }
}
customElements.define("buttom-waves", ButtonWaves);